//
//  BaseTableViewController.h
//  Root
//
//  Created by conkey on 2019/1/9.
//  Copyright © 2019 Root. All rights reserved.
//

#import "BaseViewController.h"

NS_ASSUME_NONNULL_BEGIN

// const variables
extern NSString *const kQISBaseDefaultCellIdentifier;

@interface BaseTableViewController : BaseViewController <UITableViewDelegate, UITableViewDataSource>

// default NO, must set it before did load view.
@property (nonatomic, assign) BOOL isGroupedStyle;
@property (nonatomic, strong) UITableView *tableView;
@property (nonatomic, strong) NSMutableArray *items;  // in one section

// adjust top and bottom of table view.
- (void)adjustTableViewWithTop:(CGFloat)top bottom:(CGFloat)bottom;

@end

NS_ASSUME_NONNULL_END
